<?php
/**
 * 图片相关
 */
 namespace Admin\Controller;
 use Think\Controller;
 use Think\Upload\Driver\Qiniu\QiniuStorage;
 
 
 class ImageController extends  CommonController{
    /**
     * 上传文件接口
     */
     
    public function save (){
	    $setting=C('QINIU');
		$Upload=new\Think\Upload($setting);
		$info=$Upload->upload($_FILES);
    	
		echo json_encode($info);
    } 
}
 
?>